#include "GlMain.h"

#include "GlGame.h"
#include "GlGameInterface.h"

BOOL WINAPI DllMain(HINSTANCE dllInstance, DWORD reason, LPVOID reserved)
{
    switch(reason)
    { 
        case DLL_PROCESS_ATTACH:
			GraphicLibrary::GameInterface::Init(new GraphicLibrary::Game());
            break;

        case DLL_PROCESS_DETACH:
			GraphicLibrary::GameInterface::Destroy();
            break;
    }
    return true;
}